module.exports = {
    publicPath: './',
    outputDir: 'C:\\software\\openresty\\html',
    devServer: {
        proxy: {
            '/dingding_new_message': {
                target: 'http://43.139.186.19', // 后端服务器的基地址
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                    '^/dingding_new_message': '/dingding_new_message' // 重写路径
                }

            },
            '/dxjl': {
                target: 'http://43.139.186.19', // 后端服务器的基地址
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                    '^/dxjl': '/dxjl' // 重写路径
                }
            }
        },
        compress: false
    }
};